Package com.netscape.cms.servlet.request
Class CMSRequestDAO
java.lang.Object
com.netscape.cms.servlet.request.CMSRequestDAO
- Author:
- alee
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static org.slf4j.Logger
protected RequestQueue
protected RequestRepository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract CMSRequestInfo
createCMSRequestInfo
(Request request, javax.ws.rs.core.UriInfo uriInfo) listCMSRequests
(String filter, RequestId start, int pageSize, int maxResults, int maxTime, javax.ws.rs.core.UriInfo uriInfo) Finds list of requests matching the specified search filter.listCMSRequests
(String filter, RequestId start, int pageSize, int maxTime, javax.ws.rs.core.UriInfo uriInfo) Finds list of requests matching the specified search filter.
-
Field Details
-
logger
public static org.slf4j.Logger logger -
requestRepository
-
queue
-
ATTR_SERIALNO
- See Also:
-
-
Constructor Details
-
CMSRequestDAO
public CMSRequestDAO()
-
-
Method Details
-
listCMSRequests
public CMSRequestInfos listCMSRequests(String filter, RequestId start, int pageSize, int maxTime, javax.ws.rs.core.UriInfo uriInfo) throws EBaseException Finds list of requests matching the specified search filter. The list is paginated and only the page matching the start and pageSize is returned.- Parameters:
filter
- - ldap search filterstart
- - start positionpageSize
- - page size for searchmaxTime
- - max time for normal searchuriInfo
- - uri context of request- Returns:
- collection of key request info
- Throws:
EBaseException
-
listCMSRequests
public CMSRequestInfos listCMSRequests(String filter, RequestId start, int pageSize, int maxResults, int maxTime, javax.ws.rs.core.UriInfo uriInfo) throws EBaseException Finds list of requests matching the specified search filter. If the filter corresponds to a VLV search, then that search is executed and the pageSize and start parameters are used. Otherwise, the maxResults and maxTime parameters are used in the regularly indexed search.- Parameters:
filter
- - ldap search filterstart
- - start position for VLV searchpageSize
- - page size for VLV searchmaxResults
- - max results to be returned in normal searchmaxTime
- - max time for normal searchuriInfo
- - uri context of request- Returns:
- collection of key request info
- Throws:
EBaseException
-
createCMSRequestInfo
protected abstract CMSRequestInfo createCMSRequestInfo(Request request, javax.ws.rs.core.UriInfo uriInfo)
-